# coding=utf-8

import os

from flask import Flask,jsonify

from apis.admin import route_of_admin

app = Flask(__name__)
app.register_blueprint(route_of_admin,url_prefix='/api')
@app.route("/")
def index(): return jsonify(str(app.url_map)[5:-2].split("\n "))

application = app

if __name__ == "__main__":
    app.run(host="0.0.0.0",port=8081,debug=True)